<!--header-->
<header class="mui-bar mui-bar-nav mui-white" ng-init="tabIndex=0">
	<!--如果left为空则显示返回按钮-->
	<a ng-click="goback()" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
	<!--标题-->
	<h1 class="mui-title" style="position: absolute;transform: translate(-50%,-50%);-webkit-transform: translate(-50%,-50%);top: 50%;left: 50%;overflow:visible ;">
		<div class="tabCheck">
			 <button ng-click="tabIndex=0" ng-class="tabIndex==0?'active':''">昨日利息</button>
			 <button ng-click="tabIndex=1" ng-class="tabIndex==1?'active':''">累计利息</button>
		</div>
	</h1>
	<!--右侧内容-->
	<button class="mui-btn mui-btn-blue mui-btn-link mui-pull-right"></button>
</header>
<!--header end-->
<div class="mui-content" style="padding-top: 0;top: 45px;">
	<!--昨日-->
	<div class="Profit" ng-if="tabIndex==0">
		<p>昨日利息(元)</p>
		<h1>{{yesterday.yesterdayIntrest.yesterdayIntrest|jiequ}}</h1>
	</div>
	<!--累计-->
	<div class="Profit" ng-if="tabIndex==1">
		<p>累计利息(元)</p>
		<h1>{{Cumulative.totalIntrest.totalIntrest|jiequ}}</h1>
	</div>
	<!--昨日-->
	<div class="user_list app-list" ng-if="tabIndex==0">
		<ul class="mui-table-view">
			<li class="mui-table-view-cell" ng-click="send($index)" ng-repeat="item in yesterday.prodYesterdayIntrest">
				<a class="mui-navigate-right">
					<em class="yuan_icon" style="background-color:{{item.color}};">&nbsp;</em> {{item.product_name}}
					<span class="mui-pull-right">{{item.intrest_yesterday|jiequ}}</span>
				</a>
			</li>
			
		</ul>
	</div>
	<!--累计-->
	<div class="user_list app-list" ng-if="tabIndex==1">
		<ul class="mui-table-view">
			<li class="mui-table-view-cell" ng-click="send($index)" ng-repeat="item in Cumulative.prodTotalIntrest">
				<a class="mui-navigate-right">
					<em class="yuan_icon" style="background-color: {{item.color}};">&nbsp;</em> {{item.product_name}}
					<span class="mui-pull-right">{{item.intrest_total|jiequ}}</span>
				</a>
			</li>
			
		</ul>
	</div>
</div>